<?php
class updatequestions extends CI_Controller {
	function updatequestions()
         {
   parent::__construct();
   
   $this->load->model('updatequestion_model');
   $this->load->helper("url_helper");
       session_start();

     

       }
	public function index()
	{
		  
	     $courseid=$_POST['courseid'];
		 $questid=$_POST['questid'];
		 $Quest=$_POST['Quest'];
		 $Answ=$_POST['Answ'];
		 $StatusId=$_POST['StatusId'];

          
		 $response=$this->updatequestion_model->updatequest($courseid,$questid,$Quest,$Answ,$StatusId);
		 echo $response;
		 
	}

	

}